\name{ct_check}
\alias{ct_check}
\title{
Check crosstabs
}
\description{
This functions checks if you can use your crosstab with the other functions of the crosstab package. You may supply your crosstab as a data frame or as a matrix. If ct_check() encounters a problem, it stops with an error message.
}
\usage{
ct_check(data)
}
\arguments{
  \item{data}{
a crosstab provided as a data frame or as a matrix
}
}
\examples{
# Load and check the crosstab

data(bundesliga_12_13)
ct_check(bundesliga_12_13)

# Calculate a table from the crosstab

res <- ct_table(bundesliga_12_13)

# Visualize the result

ct_p_ellipse(res)
ct_p_table(res)
}
\keyword{ misc }
